home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 15 / wfnptch.zip / WFNPATCH.TXT < prev   
Text File  |  1991-01-05  |  8KB  |  226 lines

  1.          WFNPATCH v1.0 (c) Copyright 1991, Costas Kitsos
  2.  
  3.  
  4.  
  5.                      WFN Patch Documentation
  6.  
  7. -----------------------------------------------------------------
  8. SECTION 1
  9.  
  10.  
  11.      Who needs WFNPATCH.EXE?
  12.      
  13.           You need WFNPATCH.EXE if you use Corel Draw's font
  14.           utility WFNBOSS.EXE (Version 2.00 Rev A) to create
  15.           Adobe Type 1 fonts (PFB) from your Corel Draw Font
  16.           Outlines (WFN). WFNPATCH.EXE patches WFNBOSS.EXE by
  17.           incrementing the current Unique ID in WFNBOSS.EXE by 1.
  18.  
  19.  
  20.      What's wrong with WFN conversions to Adobe Type 1?
  21.  
  22.           WFNBOSS.EXE uses the same Unique ID number (#4221071)
  23.           when  it creates Adobe Type 1 fonts.  As a result,
  24.           conflicts occur when two or more WFNBOSS.EXE created
  25.           fonts are downloaded to the PostScript printer. 
  26.           Different PostScript interpreters exhibit different
  27.           behaviors when they receive two or more fonts with the
  28.           same Unique ID.  Some interpreters replace the
  29.           previously loaded font with the newer one, while others
  30.           improperly cache font bitmaps, while others reject both
  31.           fonts.  It's possible that your PostScript printer or
  32.           imagesetter has no trouble dealing with two or more
  33.           Type 1 fonts with identical Unique IDs.  If that's the
  34.           only PostScript output device you ever use then you may
  35.           not need WFNPATCH.EXE.
  36.  
  37.  
  38.      How does WFNPATCH.EXE work?
  39.  
  40.           For details on installing WFNPATCH.EXE read Section 2. 
  41.           WFNPATCH.EXE searches the file WFNBOSS.EXE for the
  42.           Unique ID (currently at three locations in the file). 
  43.           If the Unique ID is found, it's retrieved, incremented
  44.           by one and the new Unique ID is written to the file at
  45.           the correct file offset locations.  For example, if
  46.           WFNPATCH.EXE retrieves a Current Unique ID that equals
  47.           4221071, it will increment it to 4221072 and write the
  48.           New Unique ID to WFNBOSS.EXE.  Each time you run
  49.           WFNPATCH.EXE it will increment the Unique ID by 1.  A
  50.           backup of the old version of WFNBOSS.EXE is saved as
  51.           WFNBOSS.OLD.  If the Unique ID is not found, the file
  52.           remains untouched. 
  53.  
  54.  
  55.  
  56. -----------------------------------------------------------------
  57. SECTION 2
  58.  
  59.  
  60.      Installing WFNPATCH.EXE
  61.  
  62.  
  63.           1. IMPORTANT! 
  64.  
  65.           BEFORE RUNNING WFNPATCH.EXE MAKE A BACKUP COPY OF
  66.           WFNBOSS.EXE.  DO NOT NAME YOUR BACKUP WFNBOSS.OLD AS
  67.           THAT NAME IS RESERVED FOR USE BY WFNPATCH.EXE.
  68.  
  69.           I recommend the name: &FNBOSS.EXE.  To make a backup of
  70.           WFNBOSS.EXE use the DOS copy command, e.g. 
  71.  
  72.           copy c:\corel\wfnboss.exe c:\corel\&fnboss.exe 
  73.  
  74.           Note: Do not simply rename WFNBOSS.EXE because
  75.           WFNPATCH.EXE looks for the filename: WFNBOSS.EXE.
  76.  
  77.  
  78.           2.  Copy the file WFNPATCH.EXE to the drive and
  79.           directory of your choice.  I recommend copying it to
  80.           the same drive and directory where WFNBOSS.EXE is
  81.           located.  This speeds up program operations.  This
  82.           completes DOS installation of WFNPATCH.EXE.
  83.  
  84.  
  85.           3.  Windows 3.0 Installation.
  86.  
  87.                a. Start Windows. 
  88.  
  89.                b. Open the Program Group containing your Corel   
  90.                   Apps (Corel Draw, WFN Boss, Corel Trace).
  91.  
  92.                c. In Program Manager. Click on File.
  93.  
  94.                d. Click on New.
  95.  
  96.                e. Click on Program Item.
  97.  
  98.                f. Under Description type: 
  99.                               WFNPatch
  100.                   Under Command Line type: 
  101.                               [drive]:[\path\] WFNPATCH.EXE
  102.                   Substitute [drive] and [\path\] with the
  103.                   appropriate drive and path where the program
  104.                   is located, e.g. C:\COREL\WFNPATCH.EXE
  105.  
  106.                g. Click on OK.  Windows will install WFNPATCH.EXE
  107.                   (with a DOS icon) in your selected group.  
  108.                   This completes Windows installation.
  109.  
  110.  
  111. -----------------------------------------------------------------
  112. SECTION 3
  113.  
  114.  
  115.      As explained earlier, WFNPATCH.EXE needs to be run before
  116.      you run WFNBOSS.EXE to create Adobe Type 1 fonts.  You need
  117.      to run WFNPATCH.EXE every time before using WFNBOSS.EXE to
  118.      create Type 1 fonts. 
  119.  
  120.      WFNPATCH.EXE performs a simple function.  It opens
  121.      WFNBOSS.EXE (after saving a backup copy as WFNBOSS.OLD) and
  122.      gets the Current Unique ID.  If you like DOS esoterica, the
  123.      Unique ID numbers in WFNBOSS.EXE start at file offsets:
  124.      30,174, 30,467 and 30,871.  After WFNPATCH.EXE retrieves the
  125.      Current Unique IDs it increments them by one and "writes"
  126.      the New Unique ID to WFNBOSS.EXE.  For example, if
  127.      WFNPATCH.EXE finds a Unique ID of 4221071 it will change it
  128.      to 4221072.  The next time you run it, it will find a Unique
  129.      ID of 4221072 and change it to 4221073.
  130.  
  131.      Next time you use WFNBOSS.EXE to create Adobe Type 1 fonts
  132.      the New Unique ID will be used for the PFB file as well as
  133.      the AFM file.
  134.  
  135.  
  136.      Using WFN Patch (Windows)
  137.  
  138.      1.   It's very easy.  Double click on the WFNPATCH icon to
  139.           start the program. 
  140.  
  141.      2.   First the program needs to know the location of
  142.           WFNBOSS.EXE (drive and directory).  You'll see the
  143.           prompt:
  144.  
  145.                WFNBOSS.EXE location ---> ?
  146.  
  147.           At the prompt type the drive and directory where
  148.           WFNBOSS.EXE is located.  If it resides in drive D: in a
  149.           subdirectory called \WINDOWS\COREL\, then type:
  150.  
  151.                D:\WINDOWS\COREL\
  152.  
  153.           Hit enter.
  154.  
  155.           If WFNBOSS.EXE resides in the same drive and
  156.           subdirectory as WFNPATCH.EXE you don't have to type
  157.           anything.  Just hit enter.
  158.  
  159.      3.   That's it!  WFNPATCH.EXE patches WFNBOSS.EXE and ends
  160.           with a message informing you of your New Unique ID. 
  161.           Press any key to exit and run WFNBOSS.EXE to create
  162.           Adobe Type 1 fonts with your New Unique ID.
  163.  
  164.      
  165.      Using WFN Patch (DOS)
  166.  
  167.      It makes sense to run WFNPATCH.EXE from within Windows since
  168.      you have to run it before each time you use WFNBOSS.EXE to
  169.      create Adobe Type 1 fonts.  But if you feel more comfortable
  170.      with the DOS environment or you don't like using DOS
  171.      applications in Windows follow the instructions bellow.
  172.  
  173.      1.   Change to the drive and directory containing
  174.           WFNPATCH.EXE.  At the DOS prompt type:
  175.  
  176.                WFNPATCH
  177.  
  178.           Hit enter.
  179.  
  180.      2.   First the program needs to know the location of
  181.           WFNBOSS.EXE (drive and directory).  You'll see the
  182.           prompt:
  183.  
  184.                WFNBOSS.EXE location ---> ?
  185.  
  186.           At the prompt type the drive and directory where
  187.           WFNBOSS.EXE is located.  If it resides in drive D: in a
  188.           subdirectory called \WINDOWS\COREL\, then type:
  189.  
  190.                D:\WINDOWS\COREL\
  191.  
  192.           Hit enter.
  193.  
  194.           If WFNBOSS.EXE resides in the same drive and
  195.           subdirectory as WFNPATCH.EXE you don't have to type
  196.           anything.  Just hit enter.
  197.  
  198.      3.   That's it!  WFNPATCH.EXE patches WFNBOSS.EXE and ends
  199.           with a message informing you of your New Unique ID. 
  200.           Press any key to exit,  start Windows and run
  201.           WFNBOSS.EXE to create Adobe Type 1 fonts with your New
  202.           Unique ID.
  203.  
  204.  
  205. -----------------------------------------------------------------
  206. A Final Note:
  207.  
  208.      If you plan to use your WFNBOSS produced fonts in the
  209.      Windows environment, you must still patch them according to
  210.      the instructions in "Converting fonts for use with Adobe
  211.      Type Manager" in WFN2AT.WRI (available in WFN2AT.ZIP in
  212.      Lib:2 of CompuServe's WINAPB).
  213.  
  214.      If you decide to upload WFNPATCH.EXE to a BBS or give it to
  215.      a colleague of yours that's fine.  But - please - always
  216.      include this text file with it.  If you have any questions
  217.      about using the program you may contact me via CIS mail at: 
  218.  
  219.                            73667,1755
  220.  
  221.  
  222.  
  223. -----------------------------------------------------------------
  224.  
  225.          WFNPATCH v1.0 (c) Copyright 1991 Costas Kitsos
  226.